﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class RecordingInformation
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private string contentField;
        private System.DateTime earliestRecordingField;
        private bool earliestRecordingFieldSpecified;
        private System.DateTime latestRecordingField;
        private bool latestRecordingFieldSpecified;
        private TestTool.Proxies.Onvif.RecordingStatus recordingStatusField;
        private string recordingTokenField;
        private RecordingSourceInformation sourceField;
        private TrackInformation[] trackField;

        [XmlAnyElement(Order=7)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=4)]
        public string Content
        {
            get
            {
                return this.contentField;
            }
            set
            {
                this.contentField = value;
            }
        }

        [XmlElement(Order=2)]
        public System.DateTime EarliestRecording
        {
            get
            {
                return this.earliestRecordingField;
            }
            set
            {
                this.earliestRecordingField = value;
            }
        }

        [XmlIgnore]
        public bool EarliestRecordingSpecified
        {
            get
            {
                return this.earliestRecordingFieldSpecified;
            }
            set
            {
                this.earliestRecordingFieldSpecified = value;
            }
        }

        [XmlElement(Order=3)]
        public System.DateTime LatestRecording
        {
            get
            {
                return this.latestRecordingField;
            }
            set
            {
                this.latestRecordingField = value;
            }
        }

        [XmlIgnore]
        public bool LatestRecordingSpecified
        {
            get
            {
                return this.latestRecordingFieldSpecified;
            }
            set
            {
                this.latestRecordingFieldSpecified = value;
            }
        }

        [XmlElement(Order=6)]
        public TestTool.Proxies.Onvif.RecordingStatus RecordingStatus
        {
            get
            {
                return this.recordingStatusField;
            }
            set
            {
                this.recordingStatusField = value;
            }
        }

        [XmlElement(Order=0)]
        public string RecordingToken
        {
            get
            {
                return this.recordingTokenField;
            }
            set
            {
                this.recordingTokenField = value;
            }
        }

        [XmlElement(Order=1)]
        public RecordingSourceInformation Source
        {
            get
            {
                return this.sourceField;
            }
            set
            {
                this.sourceField = value;
            }
        }

        [XmlElement("Track", Order=5)]
        public TrackInformation[] Track
        {
            get
            {
                return this.trackField;
            }
            set
            {
                this.trackField = value;
            }
        }
    }
}

